package com.road2trip.unitest;

import junit.framework.TestCase;

import com.road2trip.tools.Translator;

public class TranslatorTest extends TestCase {
	
	public void testSimpleTranslate() {

		{
			String result = Translator.translate("I love you", "en", "fr");
			assertTrue(result.equals("Je t'aime"));
		}
		
		{
			String result = Translator.translate("Japon", "fr", "ja");
			assertTrue(result.equals("日本"));
		}
		
		
	}
	
}
